package api

import (
	"github.com/gin-gonic/gin"
	"management/api/handler"
)

func Router(r *gin.Engine) {
	r.POST("/login", handler.Login)
	r.POST("/campus/add", handler.CampusAdd)
	r.POST("/upload", handler.Upload)
	r.GET("/campus/list", handler.CampusList)
}
